<?php

$show = eregi_replace("\(username\)", "$display_name", $show);
$show = eregi_replace("\(timestamp\)", "$timestamp2", $show);
$show = eregi_replace("\(datestamp\)", "$datestamp2", $show);
$show = eregi_replace("\(points\)", "$points", $show);
$show = eregi_replace("\(gamename\)", "$gameName2", $show);
$show = eregi_replace("\(gameid\)", "$game", $show);
$show = eregi_replace("\(hungerlevel\)", "$hungerLevel", $show);
$show = eregi_replace("\(pagetitle\)", "$page_title", $show);
$show = eregi_replace("\(pointsname\)", "$pointVar", $show);
$show = eregi_replace("\(usersonline\)", "$countUsersOn", $show);
$show = eregi_replace("\(tableborder\)", "$tableborder", $show);
$show = eregi_replace("\(top_cell_color\)", "$top_cell_color", $show);
$show = eregi_replace("\(top_cell_text\)", "$top_cell_text", $show);
$show = eregi_replace("\(middle_cell_color\)", "$middle_cell_color", $show);
$show = eregi_replace("\(middle_cell_text\)", "$middle_cell_text", $show);
$show = eregi_replace("\(really_light_cell\)", "$really_light_cell", $show);
$show = eregi_replace("\(main_text_color\)", "$main_text_color", $show);
$show = eregi_replace("\(copywrite\)", "$copywrite", $show);
$show = eregi_replace("\(activepetID\)", "$activePetID", $show);
$show = eregi_replace("\(activepet\)", "$activePetName", $show);
$show = eregi_replace("\(activepetlvl\)", "$activePetLevel", $show);


if (!$getInfo2[real_name]) { $getInfo2[real_name] = "Unknown Name"; }
$show = eregi_replace("\(realname\)", "$pointVar", $show);

if ($getInfo2[gender] == 2) { $gender = "<font color=blue><b>Male</b></font>"; }
if ($getInfo2[gender] == 1) { $gender = "<font color=#FF0099><b>Female</b></font>"; }
if ($getInfo2[gender] == 0) { $gender = "Undecided"; }
$show = eregi_replace("\(gender\)", "$gender", $show);

smilies($show);

?>